@import '~antd/es/style/themes/default.less';

.coverCardList {
  .card {
    :global {
      .ant-card-meta-title {
        margin-bottom: 4px;
        & > a {
          display: inline-block;
          max-width: 100%;
          color: @heading-color;
        }
      }
      .ant-card-meta-description {
        height: 44px;
        overflow: hidden;
        line-height: 22px;
      }
    }

    &:hover {
      :global {
        .ant-card-meta-title > a {
          color: @primary-color;
        }
        .cardItemContent > a {
          color: @primary-color;
        }
      }
    }
  }

  .coverImg{
    width: 100%;height: 280px;object-fit: cover;
  }
  
  .button{
    text-align: right;
  }

  .cardItemContent {
    text-align: right;
    // a {
    //   color: #000;
    //   &:hover {
    //     color: @primary-color;
    //   }
    // }
  }
  .cardList {
    margin-top: 24px;
  }

  :global {
    .ant-list .ant-list-item-content-single {
      max-width: 100%;
    }
  }
}
